﻿using System;
using System.CodeDom.Compiler;
using System.Reflection;
using Prism.Mvvm;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
using Xamarin.Forms.Xaml;
using Xamarin.Forms.Xaml.Internals;

namespace AutoR.Views.Home
{
	// Token: 0x02000046 RID: 70
	[XamlFilePath("Views\\Home\\OtherLog.xaml")]
	public class OtherLog : TabbedPage
	{
		// Token: 0x060000E9 RID: 233 RVA: 0x0003C3D8 File Offset: 0x0003A5D8
		public OtherLog()
		{
			this.InitializeComponent();
		}

		// Token: 0x060000EA RID: 234 RVA: 0x0003C3E8 File Offset: 0x0003A5E8
		[GeneratedCode("Xamarin.Forms.Build.Tasks.XamlG", "0.0.0.0")]
		private void InitializeComponent()
		{
			if (ResourceLoader.ResourceProvider != null && ResourceLoader.ResourceProvider(typeof(OtherLog).GetTypeInfo().Assembly.GetName(), "Views/Home/OtherLog.xaml") != null)
			{
				this.__InitComponentRuntime();
				return;
			}
			if (XamlLoader.XamlFileProvider != null && XamlLoader.XamlFileProvider(base.GetType()) != null)
			{
				this.__InitComponentRuntime();
				return;
			}
			BindingExtension bindingExtension = new BindingExtension();
			Label label = new Label();
			ScrollView scrollView = new ScrollView();
			Frame frame = new Frame();
			ContentPage contentPage = new ContentPage();
			NameScope value = new NameScope();
			NameScope.SetNameScope(this, value);
			this.SetValue(ViewModelLocator.AutowireViewModelProperty, new bool?(true));
			this.SetValue(Page.TitleProperty, "出货日志");
			contentPage.SetValue(Page.TitleProperty, "出货日志");
			frame.SetValue(Xamarin.Forms.Layout.PaddingProperty, new Thickness(2.0));
			frame.SetValue(View.MarginProperty, new Thickness(3.0));
			bindingExtension.Path = "Game.PickLog";
			BindingBase binding = ((IMarkupExtension<BindingBase>)bindingExtension).ProvideValue(null);
			label.SetBinding(Label.TextProperty, binding);
			label.SetValue(Label.LineBreakModeProperty, LineBreakMode.CharacterWrap);
			scrollView.Content = label;
			frame.SetValue(ContentView.ContentProperty, scrollView);
			contentPage.SetValue(ContentPage.ContentProperty, frame);
			this.Children.Add(contentPage);
		}

		// Token: 0x060000EB RID: 235 RVA: 0x0003C557 File Offset: 0x0003A757
		private void __InitComponentRuntime()
		{
			this.LoadFromXaml(typeof(OtherLog));
		}
	}
}
